﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B61 RID: 2913
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyAcceptQuizScRsp : IMessage<MonopolyAcceptQuizScRsp>, IMessage, IEquatable<MonopolyAcceptQuizScRsp>, IDeepCloneable<MonopolyAcceptQuizScRsp>, IBufferMessage
	{
		// Token: 0x170024CC RID: 9420
		// (get) Token: 0x06008252 RID: 33362 RVA: 0x0015BE71 File Offset: 0x0015A071
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyAcceptQuizScRsp> Parser
		{
			get
			{
				return MonopolyAcceptQuizScRsp._parser;
			}
		}

		// Token: 0x170024CD RID: 9421
		// (get) Token: 0x06008253 RID: 33363 RVA: 0x0015BE78 File Offset: 0x0015A078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyAcceptQuizScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170024CE RID: 9422
		// (get) Token: 0x06008254 RID: 33364 RVA: 0x0015BE8A File Offset: 0x0015A08A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyAcceptQuizScRsp.Descriptor;
			}
		}

		// Token: 0x06008255 RID: 33365 RVA: 0x0015BE91 File Offset: 0x0015A091
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyAcceptQuizScRsp()
		{
		}

		// Token: 0x06008256 RID: 33366 RVA: 0x0015BE9C File Offset: 0x0015A09C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyAcceptQuizScRsp(MonopolyAcceptQuizScRsp other) : this()
		{
			this.pMIAEBIEGMD_ = ((other.pMIAEBIEGMD_ != null) ? other.pMIAEBIEGMD_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008257 RID: 33367 RVA: 0x0015BEE8 File Offset: 0x0015A0E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyAcceptQuizScRsp Clone()
		{
			return new MonopolyAcceptQuizScRsp(this);
		}

		// Token: 0x170024CF RID: 9423
		// (get) Token: 0x06008258 RID: 33368 RVA: 0x0015BEF0 File Offset: 0x0015A0F0
		// (set) Token: 0x06008259 RID: 33369 RVA: 0x0015BEF8 File Offset: 0x0015A0F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FNKMGPNNPKC PMIAEBIEGMD
		{
			get
			{
				return this.pMIAEBIEGMD_;
			}
			set
			{
				this.pMIAEBIEGMD_ = value;
			}
		}

		// Token: 0x170024D0 RID: 9424
		// (get) Token: 0x0600825A RID: 33370 RVA: 0x0015BF01 File Offset: 0x0015A101
		// (set) Token: 0x0600825B RID: 33371 RVA: 0x0015BF09 File Offset: 0x0015A109
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600825C RID: 33372 RVA: 0x0015BF12 File Offset: 0x0015A112
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyAcceptQuizScRsp);
		}

		// Token: 0x0600825D RID: 33373 RVA: 0x0015BF20 File Offset: 0x0015A120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyAcceptQuizScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.PMIAEBIEGMD, other.PMIAEBIEGMD) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600825E RID: 33374 RVA: 0x0015BF70 File Offset: 0x0015A170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.pMIAEBIEGMD_ != null)
			{
				num ^= this.PMIAEBIEGMD.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600825F RID: 33375 RVA: 0x0015BFC5 File Offset: 0x0015A1C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008260 RID: 33376 RVA: 0x0015BFCD File Offset: 0x0015A1CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008261 RID: 33377 RVA: 0x0015BFD8 File Offset: 0x0015A1D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.pMIAEBIEGMD_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.PMIAEBIEGMD);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008262 RID: 33378 RVA: 0x0015C034 File Offset: 0x0015A234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.pMIAEBIEGMD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PMIAEBIEGMD);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008263 RID: 33379 RVA: 0x0015C08C File Offset: 0x0015A28C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyAcceptQuizScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.pMIAEBIEGMD_ != null)
			{
				if (this.pMIAEBIEGMD_ == null)
				{
					this.PMIAEBIEGMD = new FNKMGPNNPKC();
				}
				this.PMIAEBIEGMD.MergeFrom(other.PMIAEBIEGMD);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008264 RID: 33380 RVA: 0x0015C0F4 File Offset: 0x0015A2F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008265 RID: 33381 RVA: 0x0015C100 File Offset: 0x0015A300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.pMIAEBIEGMD_ == null)
					{
						this.PMIAEBIEGMD = new FNKMGPNNPKC();
					}
					input.ReadMessage(this.PMIAEBIEGMD);
				}
			}
		}

		// Token: 0x040031F5 RID: 12789
		private static readonly MessageParser<MonopolyAcceptQuizScRsp> _parser = new MessageParser<MonopolyAcceptQuizScRsp>(() => new MonopolyAcceptQuizScRsp());

		// Token: 0x040031F6 RID: 12790
		private UnknownFieldSet _unknownFields;

		// Token: 0x040031F7 RID: 12791
		public const int PMIAEBIEGMDFieldNumber = 6;

		// Token: 0x040031F8 RID: 12792
		private FNKMGPNNPKC pMIAEBIEGMD_;

		// Token: 0x040031F9 RID: 12793
		public const int RetcodeFieldNumber = 9;

		// Token: 0x040031FA RID: 12794
		private uint retcode_;
	}
}
